package com.xgg.taiwuinfo.gongfa.shaolin.changbing;

import com.xgg.taiwuinfo.R;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cast;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Body;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Damage;
import com.xgg.taiwuinfo.gongfa.abilities.Ability_Cuipo_Hit;
import com.xgg.taiwuinfo.gongfa.base.Gongfa;
import com.xgg.taiwuinfo.gongfa.base.Gongfa_Cuipo_Changbing;
import com.xgg.taiwuinfo.gongfa.readingeffect.Reading_Text;
import com.xgg.taiwuinfo.utils.Element;
import com.xgg.taiwuinfo.utils.Inherit;
import com.xgg.taiwuinfo.utils.Requirement;

public class DaMoZhangFa extends Gongfa_Cuipo_Changbing {

    public DaMoZhangFa()
    {
        super("达摩杖法" , 1 , Element.ELEMENT_METAL , Inherit.INHERIT_SHAOLIN);
        mGridOccupy = 3;
        //式
        Shi = new int[] { 2 , 1 , 2};/*劈刺撩*/
        //施法时间及气势
        ability_cast = new Ability_Cast(20 , 70, 30);
        //命中分布
        ability_cuipo_hit = new Ability_Cuipo_Hit(new int[] {0,5,5}, new int[] { 0, 500, 460});
        //攻击部位
        ability_cuipo_body = new Ability_Cuipo_Body(new int[]{
                /*胸腰头*/         30, 10, 1,
                /*四肢*/           30, 30, 0, 0,
                /*心神，毒，全身*/ 0,  0,  0
        });
        ability_cuipo_damage = new Ability_Cuipo_Damage(57,280,200,1.0 , 0, 1);
        PushYunGongObject(Gongfa.ABL_INDEX_Jingmiao ,150 );
        PushYunGongObject(Gongfa.ABL_INDEX_Lidao, 150);
        PushYunGongObject(Gongfa.ABL_INDEX_Yuqi, 20);
        PushYunGongObject(Gongfa.ABL_INDEX_Huti, 20);
        InitYunGongAbility();

        mGongfaRequired[Requirement.GF_CB] = 570;
        mAttrRequired[Requirement.ATTR_LL] = 100;
        mAttrRequired[Requirement.ATTR_LM] = 100;
        mAttrRequired[Requirement.ATTR_DL] = 135;
        mJiyiRequired[Requirement.JY_FX] = 570;

        PosfullReading = new Reading_Text(R.string.reading_damozhangfa_pos);
        NegfullReading = new Reading_Text(R.string.reading_damozhangfa_neg);
    }
}
